/*
 * XML Type:  SignupMessageSetV1
 * Namespace: http://ofx.net/types/2003/04
 * Java type: net.ofx.types.x2003.x04.SignupMessageSetV1
 *
 * Automatically generated - do not modify.
 */
package net.ofx.types.x2003.x04.impl;
/**
 * An XML SignupMessageSetV1(@http://ofx.net/types/2003/04).
 *
 * This is a complex type.
 */
public class SignupMessageSetV1Impl extends net.ofx.types.x2003.x04.impl.AbstractMessageSetVersionImpl implements net.ofx.types.x2003.x04.SignupMessageSetV1
{
    
    public SignupMessageSetV1Impl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName CLIENTENROLL$0 = 
        new javax.xml.namespace.QName("", "CLIENTENROLL");
    private static final javax.xml.namespace.QName WEBENROLL$2 = 
        new javax.xml.namespace.QName("", "WEBENROLL");
    private static final javax.xml.namespace.QName OTHERENROLL$4 = 
        new javax.xml.namespace.QName("", "OTHERENROLL");
    private static final javax.xml.namespace.QName CHGUSERINFO$6 = 
        new javax.xml.namespace.QName("", "CHGUSERINFO");
    private static final javax.xml.namespace.QName AVAILACCTS$8 = 
        new javax.xml.namespace.QName("", "AVAILACCTS");
    private static final javax.xml.namespace.QName CLIENTACTREQ$10 = 
        new javax.xml.namespace.QName("", "CLIENTACTREQ");
    
    
    /**
     * Gets the "CLIENTENROLL" element
     */
    public net.ofx.types.x2003.x04.ClientEnroll getCLIENTENROLL()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.ClientEnroll target = null;
            target = (net.ofx.types.x2003.x04.ClientEnroll)get_store().find_element_user(CLIENTENROLL$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * True if has "CLIENTENROLL" element
     */
    public boolean isSetCLIENTENROLL()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(CLIENTENROLL$0) != 0;
        }
    }
    
    /**
     * Sets the "CLIENTENROLL" element
     */
    public void setCLIENTENROLL(net.ofx.types.x2003.x04.ClientEnroll clientenroll)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.ClientEnroll target = null;
            target = (net.ofx.types.x2003.x04.ClientEnroll)get_store().find_element_user(CLIENTENROLL$0, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.ClientEnroll)get_store().add_element_user(CLIENTENROLL$0);
            }
            target.set(clientenroll);
        }
    }
    
    /**
     * Appends and returns a new empty "CLIENTENROLL" element
     */
    public net.ofx.types.x2003.x04.ClientEnroll addNewCLIENTENROLL()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.ClientEnroll target = null;
            target = (net.ofx.types.x2003.x04.ClientEnroll)get_store().add_element_user(CLIENTENROLL$0);
            return target;
        }
    }
    
    /**
     * Unsets the "CLIENTENROLL" element
     */
    public void unsetCLIENTENROLL()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(CLIENTENROLL$0, 0);
        }
    }
    
    /**
     * Gets the "WEBENROLL" element
     */
    public net.ofx.types.x2003.x04.WebEnroll getWEBENROLL()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.WebEnroll target = null;
            target = (net.ofx.types.x2003.x04.WebEnroll)get_store().find_element_user(WEBENROLL$2, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * True if has "WEBENROLL" element
     */
    public boolean isSetWEBENROLL()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(WEBENROLL$2) != 0;
        }
    }
    
    /**
     * Sets the "WEBENROLL" element
     */
    public void setWEBENROLL(net.ofx.types.x2003.x04.WebEnroll webenroll)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.WebEnroll target = null;
            target = (net.ofx.types.x2003.x04.WebEnroll)get_store().find_element_user(WEBENROLL$2, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.WebEnroll)get_store().add_element_user(WEBENROLL$2);
            }
            target.set(webenroll);
        }
    }
    
    /**
     * Appends and returns a new empty "WEBENROLL" element
     */
    public net.ofx.types.x2003.x04.WebEnroll addNewWEBENROLL()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.WebEnroll target = null;
            target = (net.ofx.types.x2003.x04.WebEnroll)get_store().add_element_user(WEBENROLL$2);
            return target;
        }
    }
    
    /**
     * Unsets the "WEBENROLL" element
     */
    public void unsetWEBENROLL()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(WEBENROLL$2, 0);
        }
    }
    
    /**
     * Gets the "OTHERENROLL" element
     */
    public net.ofx.types.x2003.x04.OtherEnroll getOTHERENROLL()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.OtherEnroll target = null;
            target = (net.ofx.types.x2003.x04.OtherEnroll)get_store().find_element_user(OTHERENROLL$4, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * True if has "OTHERENROLL" element
     */
    public boolean isSetOTHERENROLL()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(OTHERENROLL$4) != 0;
        }
    }
    
    /**
     * Sets the "OTHERENROLL" element
     */
    public void setOTHERENROLL(net.ofx.types.x2003.x04.OtherEnroll otherenroll)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.OtherEnroll target = null;
            target = (net.ofx.types.x2003.x04.OtherEnroll)get_store().find_element_user(OTHERENROLL$4, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.OtherEnroll)get_store().add_element_user(OTHERENROLL$4);
            }
            target.set(otherenroll);
        }
    }
    
    /**
     * Appends and returns a new empty "OTHERENROLL" element
     */
    public net.ofx.types.x2003.x04.OtherEnroll addNewOTHERENROLL()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.OtherEnroll target = null;
            target = (net.ofx.types.x2003.x04.OtherEnroll)get_store().add_element_user(OTHERENROLL$4);
            return target;
        }
    }
    
    /**
     * Unsets the "OTHERENROLL" element
     */
    public void unsetOTHERENROLL()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(OTHERENROLL$4, 0);
        }
    }
    
    /**
     * Gets the "CHGUSERINFO" element
     */
    public net.ofx.types.x2003.x04.BooleanType.Enum getCHGUSERINFO()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CHGUSERINFO$6, 0);
            if (target == null)
            {
                return null;
            }
            return (net.ofx.types.x2003.x04.BooleanType.Enum)target.getEnumValue();
        }
    }
    
    /**
     * Gets (as xml) the "CHGUSERINFO" element
     */
    public net.ofx.types.x2003.x04.BooleanType xgetCHGUSERINFO()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BooleanType target = null;
            target = (net.ofx.types.x2003.x04.BooleanType)get_store().find_element_user(CHGUSERINFO$6, 0);
            return target;
        }
    }
    
    /**
     * Sets the "CHGUSERINFO" element
     */
    public void setCHGUSERINFO(net.ofx.types.x2003.x04.BooleanType.Enum chguserinfo)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CHGUSERINFO$6, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CHGUSERINFO$6);
            }
            target.setEnumValue(chguserinfo);
        }
    }
    
    /**
     * Sets (as xml) the "CHGUSERINFO" element
     */
    public void xsetCHGUSERINFO(net.ofx.types.x2003.x04.BooleanType chguserinfo)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BooleanType target = null;
            target = (net.ofx.types.x2003.x04.BooleanType)get_store().find_element_user(CHGUSERINFO$6, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.BooleanType)get_store().add_element_user(CHGUSERINFO$6);
            }
            target.set(chguserinfo);
        }
    }
    
    /**
     * Gets the "AVAILACCTS" element
     */
    public net.ofx.types.x2003.x04.BooleanType.Enum getAVAILACCTS()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AVAILACCTS$8, 0);
            if (target == null)
            {
                return null;
            }
            return (net.ofx.types.x2003.x04.BooleanType.Enum)target.getEnumValue();
        }
    }
    
    /**
     * Gets (as xml) the "AVAILACCTS" element
     */
    public net.ofx.types.x2003.x04.BooleanType xgetAVAILACCTS()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BooleanType target = null;
            target = (net.ofx.types.x2003.x04.BooleanType)get_store().find_element_user(AVAILACCTS$8, 0);
            return target;
        }
    }
    
    /**
     * Sets the "AVAILACCTS" element
     */
    public void setAVAILACCTS(net.ofx.types.x2003.x04.BooleanType.Enum availaccts)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AVAILACCTS$8, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(AVAILACCTS$8);
            }
            target.setEnumValue(availaccts);
        }
    }
    
    /**
     * Sets (as xml) the "AVAILACCTS" element
     */
    public void xsetAVAILACCTS(net.ofx.types.x2003.x04.BooleanType availaccts)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BooleanType target = null;
            target = (net.ofx.types.x2003.x04.BooleanType)get_store().find_element_user(AVAILACCTS$8, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.BooleanType)get_store().add_element_user(AVAILACCTS$8);
            }
            target.set(availaccts);
        }
    }
    
    /**
     * Gets the "CLIENTACTREQ" element
     */
    public net.ofx.types.x2003.x04.BooleanType.Enum getCLIENTACTREQ()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CLIENTACTREQ$10, 0);
            if (target == null)
            {
                return null;
            }
            return (net.ofx.types.x2003.x04.BooleanType.Enum)target.getEnumValue();
        }
    }
    
    /**
     * Gets (as xml) the "CLIENTACTREQ" element
     */
    public net.ofx.types.x2003.x04.BooleanType xgetCLIENTACTREQ()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BooleanType target = null;
            target = (net.ofx.types.x2003.x04.BooleanType)get_store().find_element_user(CLIENTACTREQ$10, 0);
            return target;
        }
    }
    
    /**
     * Sets the "CLIENTACTREQ" element
     */
    public void setCLIENTACTREQ(net.ofx.types.x2003.x04.BooleanType.Enum clientactreq)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CLIENTACTREQ$10, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CLIENTACTREQ$10);
            }
            target.setEnumValue(clientactreq);
        }
    }
    
    /**
     * Sets (as xml) the "CLIENTACTREQ" element
     */
    public void xsetCLIENTACTREQ(net.ofx.types.x2003.x04.BooleanType clientactreq)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BooleanType target = null;
            target = (net.ofx.types.x2003.x04.BooleanType)get_store().find_element_user(CLIENTACTREQ$10, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.BooleanType)get_store().add_element_user(CLIENTACTREQ$10);
            }
            target.set(clientactreq);
        }
    }
}
